package org.csu.storemanage.controller;

import com.tencentcloudapi.sms.v20190711.models.SendStatus;
import org.csu.storemanage.pojo.SendSms;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
//@RequestMapping("/sms")
public class SendSmsController {

/*    @PostMapping("/sendCodeAgain")
    public SendStatus[] sendCodeAgain(@RequestParam(value = "phone",required = true)
                                              String phone){
        String[] phones={"+86"+phone};
        SendStatus[] ret= SendSms.sendSms(phones);
        return ret;
    }*/
}

